<?php

use plugin\queue\app\controller\redis\DelayController;
use plugin\queue\app\controller\redis\FailedController;
use plugin\queue\app\controller\redis\NormalController;

return [
    [
        'title' => '首页',
        'name' => 'home',
        'path' => '/home',
        'is_menu' => 1,
        'icon' => 'el-icon-operation',
        'children' => [
            [
                'title' => '仪表盘',
                'name' => 'home/view',
                'path' => '/home',
                'is_menu' => 1,
                'icon' => 'el-icon-operation',
                'component' => 'home'
            ]
        ]
    ],
    [
        'title' => '系统配置',
        'name' => 'admin/system',
        'path' => '/admin/system',
        'icon' => 'el-icon-operation',
        'is_menu' => 1,
        'children' => [
            [
                'title' => '权限管理',
                'name' => 'admin/auth',
                'path' => '/auth',
                'icon' => 'el-icon-operation',
                'is_menu' => 1,
                'children' => [
                    [
                        'title' => '账户管理',
                        'name' => 'admin/auth/admin',
                        'path' => '/admin/auth/admin/index',
                        'icon' => 'el-icon-operation',
                        'is_menu' => 1,
                        'component' => 'common'
                    ],
                    [
                        'title' => '角色管理',
                        'name' => 'admin/auth/adminrole',
                        'path' => '/admin/auth/adminrole/index',
                        'icon' => 'el-icon-operation',
                        'is_menu' => 1,
                        'component' => 'common',
                    ],
                    [
                        'title' => '菜单管理',
                        'name' => 'admin/auth/adminrule',
                        'path' => '/admin/auth/AdminRule/index',
                        'icon' => 'el-icon-operation',
                        'is_menu' => 1,
                        'component' => 'admin/auth/AdminRule',
                    ],
                    [
                        'title' => '腾讯官网',
                        'name' => 'admin/auth/qq',
                        'path' => 'https://www.qq.com',
                        'icon' => 'el-icon-operation',
                        'is_menu' => 2,
                        'component' => '',
                    ],
                ]
            ],
            [
                'title' => '会员管理',
                'name' => 'admin/user',
                'path' => '/admin/user',
                'icon' => 'el-icon-operation',
                'is_menu' => 1,
                'children' => [
                    [
                        'title' => '用户列表',
                        'name' => 'admin/user/list',
                        'path' => '/admin/user/list',
                        'icon' => 'el-icon-operation',
                        'is_menu' => 1,
                        'component' => 'common'
                    ]
                ]
            ],
            [
                'title' => '通用设置',
                'name' => 'admin/common',
                'path' => '/admin/common',
                'icon' => 'el-icon-operation',
                'is_menu' => 1,
                'children' => [
                    [
                        'title' => '个人资料',
                        'name' => 'admin/user/user',
                        'path' => '/userCenter/index',
                        'icon' => 'el-icon-operation',
                        'is_menu' => 1,
                        'component' => 'admin/userCenter/index'
                    ]
                ]
            ],
            [
                'title' => '插件管理',
                'name' => 'admin/plugin',
                'path' => '/admin/plugin',
                'icon' => 'el-icon-operation',
                'is_menu' => 1,
                'children' => [
                    [
                        'title' => '应用插件',
                        'name' => 'admin/plugin/app',
                        'path' => '/admin/plugin/app',
                        'icon' => 'el-icon-operation',
                        'is_menu' => 1,
                        'component' => 'common'
                    ]
                ]
            ],
        ]
    ]
];
